<?php header("Content-type: text/html; charset=utf-8");?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="es" xml:lang="es">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php __('Epicrisis:'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');
		echo $this->Html->css('rm-front');
		echo $this->Html->css('tabs-slideshow');
		echo $scripts_for_layout;
		echo $html->meta('icon','/images/favicon.ico', array('type' =>'icon'));
		echo $javascript->link('prototype-1.7');
		echo $javascript->link('scriptaculous');
		echo $javascript->link('jquery.tools.min'); // Incluye jQuery 1.4.2
	?>
</head>
<body>
<script type="text/javascript">$j = jQuery.noConflict();</script> 
	<!-- start header -->
	<div id="header"> 
		<div id="rowheader">
			<div id="logo"><a href="/"><img src="/images/logo.png" border="0" hspace="7" vspace="5" width="140" align="absbottom"></a><img src="/images/icon_beta.png" border="0" align="absbottom" vspace="7" hspace="7"></div>
			<div id="accountmenu"> 
					<a href="/contacto" class="link_destacado2">Contacto</a>
					<a href="#" onclick="jQuery('.loginmenu').toggle();" class="link_destacado">Acceder</a> 
					<div class="loginmenu"> 
						<br/>
						<form method="post" action="/users/login" accept-charset="utf-8"> 
						<p> 
							<label for="user_name"><b>Usuario</b></label>
							<input name="data[User][username]" TABINDEX="1" type="text" maxlength="255" id="UserUsername" class="textfield" /> 
						</p> 
						<p> 
							<label for="password"><b>Contraseña</b></label>
							<input type="password" TABINDEX="2" name="data[User][password]" id="UserPassword" class="textfield" />
						</p> 
						<div class="submit"><input type="submit" TABINDEX="3" value="Acceder" /></div>
						<!-- <ul> 
							<li><a href="#">¿Olvidó el Usuario o la Contraseña?</a></li> 
						</ul> 
 -->					</form> 
					</div> 
					<!-- <a href="/clients/add" id="btnctanueva">Crear una Cuenta</a> -->
			</div> 
		</div> 
	</div> 
	<!-- end header -->
	<!-- start page -->
	<div id="page">
		<?php echo $this->Session->flash(); ?> 
		<?php echo $content_for_layout; ?>
		<div style="clear: both;">&nbsp;</div>
	</div>
	<!-- end page -->
	<div id="footer">
		<?php echo $this->element('pie'); ?>
		<?php echo $this->element('analytics'); ?>
	</div>

</body>
</html>